/**
 * @import libs
 */
import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useGlobalStaticMessStore = defineStore('globalStaticMess', () => {

    /**
     * 底部导航栏信息列表
     * @type {Array<{id: number, name: string, icon: string, path: string}>}
     */
    const buttomBarMessList = ref([
        {
            id: 0,
            name: "首页",
            icon: "/static/icons/home.svg",
            path: "/pages/index/index"
        },
        {
            id: 1,
            name: "搜索",
            icon: "/static/icons/search.svg",
            path: "/pages/search/index"
        },
        {
            id: 2,
            name: "购物",
            icon: "/static/icons/shopping.svg",
            path: "/pages/shopping/index"
        },
        {
            id: 3,
            name: "分享",
            icon: "/static/icons/share.svg",
            path: "/pages/share/index"
        },
        {
            id: 4,
            name: "宠物医生",
            icon: "/static/icons/cat-foot.svg",
            path: "/pages/petDoctor/index"
        }

    ])

    return {
        buttomBarMessList
    }
})